package com.zhanjiangyifang.shop.config;

import com.zhanjiangyifang.shop.utils.PreferencesUtils;

/**
 * Created by admin on 2018/7/9.
 */

public class Constants {
    //微信
    public static final String WX_APP_ID = "wx02e1881647b5927c";
    public static final String WX_APP_SIGN= "45c6afe372d255c4c1714656e6195fe0";
    public static final String WX_APP_SECRET = "b989695229b13a696dfffd8be601fcce";
    public static final String WX_API_SECRET = "www0759Mallcom202016888888888888";
    //QQ
    public static final String QQ_APP_ID = "";
    public static final String QQ_APP_KEY = "";
    //友盟
    public static final String U_MENG_KEY = "5ea63ae7dbc2ec07fc259886";

    //u，k
    public static final String PERM_ID = "perm_id";
    public static final String PERM_KEY = "perm_key";

    /*------------------------------------公用获取U，key的方法--------------------------------------*/
    public static String getPermId() {
        return (String) PreferencesUtils.get(PERM_ID, "");
    }

    public static void setPermId(String permId){
        PreferencesUtils.put(Constants.PERM_ID,permId);
    }

    public static String getPermKey() {
        return (String) PreferencesUtils.get(PERM_KEY, "");
    }

    public static void setPermKey(String permKey){
        PreferencesUtils.put(Constants.PERM_KEY,permKey);
    }
    /*------------------------------------公用获取U，key的方法--------------------------------------*/
}
